package com.think.oauth.user.model;

import java.io.Serializable;
import java.sql.Timestamp;

import org.springframework.context.annotation.Primary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("think_permission")
public class Permission extends BaseObject {
	
	/**
	 * 权限ID
	 */
	@TableId(type = IdType.AUTO)
	private Integer permissionId;
	
	/**
	 * 权限名称
	 */
	private String name;
	
	/**
	 * 权限描述
	 */
	private String description;
	
	
	/**
	 * 权限状态
	 */
	private Integer state;
	
	
	/**
	 * 权限隶属
	 */
	private Integer parent;
	
	

	/**
	 * 资源路径
	 */
	private String resPath;
	
	/**
	 * 资源描述
	 */
	private String resDesc;
	
	/**
	 * 资源类型
	 */
	private Integer resType;
	
	/**
	 * 资源排序
	 */
	private Integer resOrder;
	
	
	private String client;

	public Integer getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getParent() {
		return parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}
	
	
	public String getResPath() {
		return resPath;
	}

	public void setResPath(String resPath) {
		this.resPath = resPath;
	}

	public String getResDesc() {
		return resDesc;
	}

	public void setResDesc(String resDesc) {
		this.resDesc = resDesc;
	}

	public Integer getResType() {
		return resType;
	}

	public void setResType(Integer resType) {
		this.resType = resType;
	}

	public Integer getResOrder() {
		return resOrder;
	}

	public void setResOrder(Integer resOrder) {
		this.resOrder = resOrder;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getClient() {
		return client;
	}

	public void setClient(String client) {
		this.client = client;
	}
}
